local RankTopFourColRender = app.mvc.createRenderClass(...)

--data =
function RankTopFourColRender.create(node)
    local sprite = RankTopFourColRender.extend(node or cc.CSLoader:createNode(Res.RankTopFourCol))
    if node == nil then
        ccui.Helper:doLayout(sprite)
    end
    sprite:init()
    return sprite
end

function RankTopFourColRender:init(data)
    self.super.init(self, data)
  
end


function RankTopFourColRender:refresh()
    if not self._data then
        return
    end
    local data = self._data
    self._ui.title1:setString(data.title1)
    self._ui.title2:setString(data.title2)
    self._ui.title3:setString(data.title3)
    self._ui.title4:setString(data.title4)
end

return RankTopFourColRender